yii2 where in

83

yii2 where in -

public function static findProductsOnSale($ids)
{
    return $this->find()->where(['in', 'product_id', $ids])->count();
}

Comments

Submit
0 Comments